#include "VisitorClearArm.h"
#include "Point.h"
#include "screen.h"
#include "Arm.h"

void VisitorClearArm::WhatToDo(Arm * a)
{
Point A,B,C;
A = a->getLinkFirst().getStart();
B = a->getLinkFirst().getEnd();
C = a->getLinkSecond().getEnd();

scr()->Line((int)A.getX(),YOFF-(int)A.getY(),(int)A.getX()+(int)B.getX(),YOFF-(int)B.getY()-(int)A.getY(),0x00);
scr()->Line((int)A.getX()+(int)B.getX(),YOFF-(int)B.getY()-(int)A.getY(),(int)A.getX()+(int)C.getX(),YOFF-(int)C.getY()-(int)A.getY(),0x00);


}
